#pragma once
#include <cppunit/extensions/HelperMacros.h>
#include "AST.h"

class TestAST : public CPPUNIT_NS::TestFixture {
	CPPUNIT_TEST_SUITE( TestAST );

	CPPUNIT_TEST( testConstructor );
	CPPUNIT_TEST( testSetGetRoot );
	CPPUNIT_TEST( testGetSubTree );

	CPPUNIT_TEST_SUITE_END();

public:
	void setUp();
	void tearDown();

	void testConstructor();
	void testSetGetRoot();
	void testGetSubTree();
};

